<template>
    <view class="container">
        <video id="localVideo" class="video" autoplay muted></video>
        <video id="remoteVideo" class="video" autoplay></video>
        <button @tap="startCall">开始通话</button>
  </view>
</template>

<script setup>



const startCall = async () => {
    // 请求访问摄像头和麦克风
    
    
}

</script>

<style lang="scss" scoped>
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.video {
  width: 100%;
  height: 300px;
  background-color: black;
  margin-bottom: 10px;
}
</style>